package com.ecy.quadratic.ui.activity;

import android.content.Context;
import android.content.Intent;
import android.widget.TextView;

import com.ecy.quadratic.R;
import com.ecy.quadratic.reader.base.BaseActivity;
import com.ecy.quadratic.reader.component.AppComponent;

import butterknife.Bind;
import butterknife.OnClick;

/**
 * Created by Administrator on 2017/6/5.
 */
public class
AboutActivity extends BaseActivity{

    @Bind(R.id.title_tv)
    TextView mTitleTV;

    public static final void startActivity(Context context) {
        Intent intent = new Intent(context, AboutActivity.class);
        context.startActivity(intent);
    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_about;
    }

    @Override
    protected void setupActivityComponent(AppComponent appComponent) {

    }

    @Override
    public void initToolBar() {
        mCommonToolbar.setNavigationIcon(R.drawable.ab_back);
        mCommonToolbar.setTitle(R.string.book_detail);
    }

    @Override
    public void initData() {
    }

    @Override
    public void configViews() {
        mTitleTV.setText("关于");
    }

    @OnClick(R.id.title_back_iv)
    public void back() {
        finish();
    }


    @Override
    protected void onDestroy() {
        super.onDestroy();
    }

}
